var rule = {
author: '小可乐/2504/第二版',
title: '旺旺影视',
类型: '影视',
host: 'https://www.wwgz.cn',
// host: 'https://www.nmdvd.com',
// hostJs: 'HOST = pdfh(fetch(HOST), "b:eq(0)&&Text"); !HOST.startsWith("http") ? HOST = "https://"+HOST : HOST',
headers: {'User-Agent': 'MOBILE_UA'},
编码: 'utf-8',
timeout: 5000,

homeUrl: '/',
url: '/vod-list-id-fyfilter.html',
filter_url: '{{fl.cateId}}-pg-fypage-order--by-{{fl.by}}-class-0-year-{{fl.year}}-letter-{{fl.letter}}-area-{{fl.area}}-lang-',
searchUrl: '/index.php?m=vod-search',
detailUrl: '',

limit: 9,
double: false,
class_name: '电影&剧集&综艺&动漫&短剧',
class_url: '1&2&3&4&26',
filter_def: {
1: {cateId: '1'},
2: {cateId: '2'},
3: {cateId: '3'},
4: {cateId: '4'},
26: {cateId: '26'}
},

推荐: '*',
一级: 'li:has(.pic);.sTit&&Text;img:eq(-1)&&data-echo;.sBottom&&Text;a&&href',
搜索: $js.toString(() => {
let khtml = fetch(input, {
    headers: rule.headers,
    body: 'wd='+KEY,
    method: 'POST'
});
VODS = [];
let klists = pdfa(khtml, 'li:has(.pic)');
klists.forEach((it) => {
    VODS.push({
        vod_name: pdfh(it, '.sTit&&Text'),
        vod_pic: pdfh(it, 'img&&data-src'),
        vod_remarks: pdfh(it, '.sStyle&&Text'),
        vod_id: pdfh(it, 'a&&href')
    })
})
}),
二级: $js.toString(() => {
let khtml = fetch(input);
VOD = {};
VOD.vod_id = input;
//标题
VOD.vod_name = pdfh(khtml, '.title&&Text');
//图片
VOD.vod_pic = pdfh(khtml, '.page-hd&&img&&src');
//类型
VOD.type_name = pdfh(khtml, '.type-title&&Text');
//更新信息
VOD.vod_remarks = pdfh(khtml, '.desc_item--span:eq(0)&&Text');
//年份
VOD.vod_year = pdfh(khtml, '.desc_item--span:eq(-1)&&Text');
//地区
VOD.vod_area = '未提供';
//导演
VOD.vod_director = pdfh(khtml, '.desc_item--span:eq(2)&&Text');
//主演
VOD.vod_actor = pdfh(khtml, '.desc_item--span:eq(1)&&Text');
//简介
VOD.vod_content = pdfh(khtml, 'p:contains(介)&&Text');

let ktabs = pdfa(khtml, '.hd&&a').map((it) => { return '👶'+pdfh(it, 'body&&Text') });
VOD.vod_play_from = ktabs.join('$$$');

let jinput = pd(khtml, '.greenBtn&&href', input);
let kcode = fetch(jinput).split('mac_url=\'')[1].split('\';')[0];
let kplists = kcode.split('$$$');
let i = 0;
let kurls = ktabs.map((tab) => {
    let plist = kplists[i].split('#').map((pl)=> {return pl+'?'+tab});
    i++;
    return plist.join('#')
});
VOD.vod_play_url = kurls.join('$$$')
}),

play_parse: true,
lazy: $js.toString(() => {
let [kurl, ktab] = input.split('?');
let kid = kurl;
let kjx = '';
if (/默认/.test(ktab)) {
    kjx = 'https://api.wwgz.cn:520/webcloud/relay.php?url=';
    kurl = kjx + kid;
    kjx = fetch(kurl).split('case')[1].split('src = \'')[1].split('\'')[0];
    kurl = kjx + kid;
    kurl = fetch(kurl,{}).split('url')[1].split('\'')[1];
    input = { jx: 0, parse: 0, url: kurl }
} else {
    kjx = 'https://api.wwgz.cn:520/webcloud/m3u8.php?url=';
    kurl = kjx + kid;
    kurl = fetch(kurl).split('url')[1].split('\'')[1];
    input = { jx: 0, parse: 0, url: kurl }
}
}),

filter: 'H4sIAAAAAAAAA+3aW09cVRjG8Xs+xr7GZB32OtC7nkvP52N6gXUSG2tNKJoQQlKlWA62qLEglXpInEIjlSE1jZ1K+TLsDXwLZzprr+fBC0OCxmDWHeu/OjP7Nx0m715hqCuT2Z5rXUPZB7XBbE92o2+g1vte1p3d7vuw1lqvL78uvp9srT/pu/VxK1wbym63cjG6sDmy0M6thcyGu0OeWFhbmVsfvx92DHam54rxeezYuLM+tlyOjGLHYWf+q+LVa+z4uFN++mV5dxo7PXid8fktzyYFHjT27VpznLZw3eXIRPnZY9rC5RX1+1suQrau7/pwd3zD+vprfXi7irlG8UXz798uPPXP85uzn4caFtXe5tPZ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